
#include "Human.h"
#include <cstring>
#include <iostream>
using namespace std;


Human::Human( int age, const char* name ) {
	// define age and name
	this->age = age;
	strcpy(this->name, name);
}

void Human::getinfo( ) {
	cout << "name : " << name << "\n" << "age : " << age << endl;
}

